package org.example.dynamic.enetity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.dynamic.util.BaseEntity;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * @author 乔治
 */
@Data
@TableName("r_file")
@EqualsAndHashCode(callSuper = true)
public class FileInfo extends BaseEntity implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = 2346961786273708392L;

    private Long id;
    /**
     * 文件名称
     */
    private String name;

    /**
     * base编码
     */
    @Column(name = "base_code")
    private String baseCode;

    /**
     * 文件状态
     */
    private Integer state;

    /**
     * 文件大小
     */
    private Long size;
    
    /**
     * 调用次数
     */
    private Integer number;
}